﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="CrearPensumEtapaI.aspx.cs" Inherits="vudu.Presentacion.Vista.VU_03_Gestionar_Pensum_por_Escuela.CrearPensumEtapaI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
      <table width="94%" border="0" cellspacing="0" cellpadding="0" align="center">
         <tr>
            <td align="right">   
                <a class="migaActual"><asp:Label ID="uxNombreUsuario" runat="server" 
                    Text="Escuela Ing. Informatica" ForeColor="Black" ></asp:Label></a>
            </td>
          </tr>
        </table>
        <table width="89%" border="0" cellspacing="0" cellpadding="0" align="center">
          
          <tr>
            <td colspan="2"><a class="tituloGeneral">Agregar Pensum</a></td>
            
          </tr>
          <tr>
            <td colspan="2" style="text-align: center">
                &nbsp;<asp:Label ID="Label6" runat="server" Text="Label" Visible="False" 
                    style="text-align: center; font-weight: 700" ForeColor="#009933"></asp:Label>
              </td>
          </tr>
          <tr>
            <td align = "center" colspan="2">   
                <fieldset style="width: 1027px"><legend>Pensum</legend>    
                    <table align="center" border="0" cellpadding="0" cellspacing="0" 
                        style="width: 98%; margin-left: 0px">
                        <tr>
                            <td  align = "center" class="style38">
                                Seleccione una escuela</td>
                            <td class="style37">
                                &nbsp;</td>
                            <td align = "right">
                                Seleccione el tipo de Periodo</td>
                        </tr>
                        <tr>
                            <td class="style38" align = "center">
                                <asp:DropDownList ID="uxListaEscuelas" runat="server" 
                                    Height="20px" width="249px"
                                    AutoPostBack="True" 
                                    onselectedindexchanged="uxListaEscuelas_SelectedIndexChanged">
                                    <asp:ListItem Value="0">Ingenieria en Informatica</asp:ListItem>
                                    <asp:ListItem Value="1">Ingenieria Industrial</asp:ListItem>
                                    <asp:ListItem Value="2">Matematicas</asp:ListItem>
                                    <asp:ListItem Value="3">Ingenieria de Telecomnicaciones</asp:ListItem>
                                    <asp:ListItem Value="4">Fisica</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td  align = "center" class="style37">
                                <asp:Label ID="uxMensajeMinMateria" runat="server" 
                                    Text="Debe seleccionar al menos 5 materias"></asp:Label>
                            </td>
                            <td align = "right">
                                <asp:DropDownList ID="uxTotalSemestres" runat="server" Height="20px" 
                                    Width="154px">
                                    <asp:ListItem Value="0">Semestral</asp:ListItem>
                                    <asp:ListItem Value="1">Trimestral</asp:ListItem>
                                    <asp:ListItem Value="2">Anual</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="style38">
                                &nbsp;</td>
                                <td class="style37">
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                    
                    <table align="center" border="0" cellpadding="0" cellspacing="0" 
                        style="width: 99%; margin-left: 0px">
                        <tr>
                            <td align="center" class="style34">
                            <asp:Label 
                                    ID="uxSeleccioneMaterias" runat="server" Text="Seleccione las materias que desea agregar al pensum"></asp:Label>
                            </td>
                            <td class="style35"></td>
                            <td align = "center">
                            <asp:Label 
                                    ID="Label1" runat="server" Text="Materias Seleccionadas"></asp:Label></td>
                        </tr>
                        <tr>
                            <td class="style34">
                            </td>
                            <td class="style35">
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td valign = "top" align = "left" class="style34" >
                            <asp:GridView ID="uxMateriasEscuela" 
                               selectedindex="0" runat="server" 
                               HorizontalAlign="Center" Width="500px" CellPadding="4" ForeColor="#333333" 
                               GridLines="None" AllowPaging="True" 
                               onpageindexchanging="uxMateriasEscuela_PageIndexChanging" PageSize="8" 
                                    onselectedindexchanged="uxMateriasEscuela_SelectedIndexChanged" 
                                    style="margin-right: 17px">
                             <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign = "Center" 
                                    VerticalAlign = "Middle" Height="28px"/>
                             <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                             <Columns>
                                 <asp:TemplateField HeaderText="Seleccionar">
                                     <ItemTemplate>
                                         <asp:CheckBox align="right" ID="chkSeleccionEscoger" runat="server"  />
                                     </ItemTemplate>
                                     <EditItemTemplate>
                                         <asp:CheckBox  align="right" ID="chkSeleccionEscoger" runat="server" />
                                     </EditItemTemplate>
                                 </asp:TemplateField>
                             
                             </Columns>

                             <EditRowStyle HorizontalAlign="Center" 
                               VerticalAlign="Middle" BackColor="#999999" Height="20px" />
                             <EmptyDataRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                             <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                             <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                             <selectedrowstyle backcolor="#E2DED6" forecolor="#333333" font-bold="true"/>
                             <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                             <SortedAscendingCellStyle BackColor="#E9E7E2" />
                             <SortedAscendingHeaderStyle BackColor="#506C8C" />
                             <SortedDescendingCellStyle BackColor="#FFFDF8" />
                             <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                     </asp:GridView>
                            </td>
                            <td class="style35">
                            </td>
                            <td valign="top">
                                            <asp:GridView ID="uxMateriasParaPensum" runat="server" CellPadding="4" 
                                    ForeColor="#333333" GridLines="None" PageSize="8" Width="500px"
                                    onpageindexchanging="uxMateriasPensum_PageIndexChanging" 
                                    onselectedindexchanged="uxMateriasPensum_SelectedIndexChanged" 
                                    AllowPaging="True" >
                                     <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign = "Center" 
                                                    VerticalAlign = "Middle" Height="28px"/>
                             <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                    
                                    <EditRowStyle BackColor="#999999" Height="20px" />
                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                </asp:GridView>
                                
                            </td>
                        </tr>
                        <tr>
                            <td class="style34">
                            </td>
                            <td class="style35">
                            </td>
                            <td>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align = "center" class="style34">
                                <asp:Button  ID="uxAgregarMateria" runat="server" Text="Agregar" 
                                    CssClass="boton" onclick="uxAgregarMateria_Click"/>
                            </td>
                            <td>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </table>
                </fieldset>
                <br />     
            </td>
          </tr>
        </table>

        <table style="width:100%; height: 0px; margin-bottom: 2px;">
        
            <tr>
               
                <td  align = "center" class="style40">
                    
                    <asp:Button ID="ux_Salir" runat="server" Text="Anterior" CssClass ="boton" 
                        onclick="ux_Salir_Click"/>
                    
                </td>
                <td  align="center">
                    <asp:Button ID="ux_continuar" runat="server" Text="Aceptar" CssClass="boton" onclick="ux_continuar_Click" 
                          />
                </td>
            </tr>
        </table>
        
</asp:Content>
